package com.anonymous.community.api.model;

/**
 * 创建用户请求 - 管理员接口
 */
public class CreateUserRequest {
    private String email;
    private String username;
    private String password;
    private boolean is_verified;
    private String role;
    private boolean is_admin;

    public CreateUserRequest(String email, String username, String password) {
        this.email = email;
        this.username = username;
        this.password = password;
        this.is_verified = false;
        this.role = "user";
        this.is_admin = false;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public boolean isVerified() {
        return is_verified;
    }

    public void setVerified(boolean verified) {
        is_verified = verified;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public boolean isAdmin() {
        return is_admin;
    }

    public void setAdmin(boolean admin) {
        is_admin = admin;
    }
}

